package com.hup.minicontroller.common.model.dto;

import com.hup.minicontroller.common.constant.NetConstant.DataType;
import com.hup.utils.io.netty.model.BaseDataPacket;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hugan
 * @date 2021/5/6
 */
@Data
@NoArgsConstructor
public class FunctionButtonRequest implements BaseDataPacket {

    private int button;

    public FunctionButtonRequest(int button) {
        this.button = button;
    }

    @Override
    public int getType() {
        return DataType.FUNCTION_BUTTON;
    }
}
